<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
         .box {
            height: 600px; 
            width: 100%; 
            border: 2px solid red;
            position: relative;
        }
        .cat {
            position: relative;
            transition: all 2s;
        }
        .md-t {
            height: 250px;
            width: auto;
        }
        .md-r, .md-l {
            width: 80px; 
            border-radius: 50%;
            position: absolute; 
            transition: all 2s;
        }
        .md-r {
            top: 235px;
            left: 0; 
        }
        .md-l {
            top: 235px;
            left: 150px;
        }
        .box:hover .cat {
            transform: translate(1000px);
        }
        .box:hover .md-l,
        .box:hover .md-r{
            transform: rotate(360deg);
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="cat">
            <img src="./img/1.png" alt="" class="md-t">
            <img src="./img/cat.jpg" alt="" class="md-r">
            <img src="./img/cat.jpg" alt="" class="md-l">
        </div>
    </div>
</body>
</html>